package com.linewell.entity;

/**
 * @Title: ssm2
 * @description: 回复实体类
 * @author: hyuhuang@linewell.com
 * @since:2018/3/21
 */
public class Reply {
    /**
     * 回复ID
     */
    private Long replyId;
    /**
     * 评论ID
     */
    private Long commentId;
    /**
     * 回复日期
     */
    private String replyDate;
    /**
     * 回复类型   0 回复文章  1 回复他人的留言
     */
    private int replyType;
    /**
     * 回复留言
     */
    private String replyText;
    /**
     * 回复的人
     */
    private UserInfo replyFromId;
    /**
     * 文章作者   被回复者
     */
    private UserInfo replyToId;
    /**
     * 评论赞
     */
    private int replyZan;
    /**
     * 评论踩
     */
    private int replyCai;
    /**
     * 回复文章
     */
    private Article article;

    private int isCheck;

    public int getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(int isCheck) {
        this.isCheck = isCheck;
    }

    public Reply() {
    }

    public Reply(Long replyId, Long commentId, String replyDate, int replyType, String replyText, int replyZan, int replyCai) {
        this.replyId = replyId;
        this.commentId = commentId;
        this.replyDate = replyDate;
        this.replyType = replyType;
        this.replyText = replyText;
        this.replyZan = replyZan;
        this.replyCai = replyCai;
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }

    public int getReplyZan() {
        return replyZan;
    }

    public void setReplyZan(int replyZan) {
        this.replyZan = replyZan;
    }

    public int getReplyCai() {
        return replyCai;
    }

    public void setReplyCai(int replyCai) {
        this.replyCai = replyCai;
    }

    public Long getReplyId() {
        return replyId;
    }

    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public String getReplyDate() {
        return replyDate;
    }

    public void setReplyDate(String replyDate) {
        this.replyDate = replyDate;
    }

    public int getReplyType() {
        return replyType;
    }

    public void setReplyType(int replyType) {
        this.replyType = replyType;
    }

    public String getReplyText() {
        return replyText;
    }

    public void setReplyText(String replyText) {
        this.replyText = replyText;
    }

    public UserInfo getReplyFromId() {
        return replyFromId;
    }

    public void setReplyFromId(UserInfo replyFromId) {
        this.replyFromId = replyFromId;
    }

    public UserInfo getReplyToId() {
        return replyToId;
    }

    public void setReplyToId(UserInfo replyToId) {
        this.replyToId = replyToId;
    }
}
